<?php 
	include_once './setPhp.php';
	$data = include './data.php';
	$k = $_GET['id'];
	if(!data_is_int($k))
	{
		echo "<script>location.href='./index.php';</script>";
	}
	$data[$k]['cai']++;
	data_to_file('./data.php', $data);
	echo "<script>location.href='./index.php';</script>";
 ?>